
#ifdef a
#include <stdio.h>
int  fun(int* p, int  n, int  x);
int main()
{
    int  a[10] = { 1,2,3,4,5,6,7,8,9,10 }, x, k;
    scanf("%d", &x);
    k = fun(a, 10, x);
    if (k >= 0)  printf("%d\n", k);
    else  printf("no\n");
    return 0;
}

//在元素数为n的数组中查找x
int  fun(int* p, int  n, int  x) {
    for (int i = 0; i < n; i++) {
        if (p[i] == x)
            return i;
    }
    return -1;
}
#endif